home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ghostview / HISTORY < prev    next >
Text File  |  1994-08-01  |  17KB  |  413 lines

  1. ==================== ghostview 1.4.1       ( 2 Nov 92) =====================
  2.  
  3.  1. Fix a couple of bugs introduced into the PostScript comment scanner.
  4.     - Change isblank() to blank() to avoid name clash.
  5.     - Upgrade blank() to call not DSC comments blank lines.
  6.     - Avoid core dump by guarding against garbage bewteen the %%EndSetup
  7.       and first %%Page.
  8.     - Collsaped sections (Documents, Files, ProcSets, etc.) are no longer
  9.       returned as a comment line.  They are now properly recognized.
  10.     - Avoid looping by truncating line buffer at EOF.
  11.  
  12.  2. Synchronize X connection before trying to force error associated with
  13.     backing pixmap.
  14.  
  15.  3. Add <Tab> as another keyboard accelerator for Next.
  16.  
  17. ==================== ghostview 1.4         (11 Oct 92) =====================
  18.  
  19.  1. Merge in VMS support from Terry Poot <tp@mccall.com>.
  20.  
  21.  2. Force the Alloc error to occur immediately after trying to allocate
  22.     the backing pixmap.  Deal with it as best as we can.
  23.  
  24.  3. Withdraw unused function GhostviewGetInputFileDescriptor().
  25.  
  26.  4. Use XCOMM trick from X11R5 to make Imakefile more portable.
  27.  
  28.  5. Renamed ghostview.h to gv.h and Ghostview.ad.h to app-defaults.h to
  29.     avoid limitations in VMS file names.
  30.  
  31.  6. Correct problem where ghostscript interpreter was not being killed
  32.     when the popup zoom window was dismissed.
  33.  
  34.  7. Propagate error messages about alloc failures and interpreter failures
  35.     in both main and zoom windows back to the information window.
  36.  
  37.  8. Catch X errors and gracefully die if one occurs.
  38.  
  39.  9. Relayout ghostview whenever the document requests a new orientation or
  40.     page media.
  41.  
  42. 10. Allow for multipage encapsulated PostScript figures.
  43.  
  44. 11. More upgrades to PostScript scanner.
  45.     - Comment section now terminated by %X where X is unprintable.
  46.     - Length of section is now properly computed when there is an
  47.       included document.
  48.     - Cleaned up misuse of global variables.
  49.     - Ignore comments within %%Begin(End)Feature, %%Begin(End)File,
  50.       %%Begin(End)Font, %%Begin(End)ProcSet, %%Begin(End)Resource.
  51.     - Change enum {LLX, LLY, URX, URY} to #defines to avoid confusing some
  52.       compilers.
  53.  
  54. 12. Pay attention to ordinal number on %%Page comment to detect included
  55.     figures without %%Begin(End)Document guards.
  56.  
  57. 13. Added reopen button.
  58.  
  59. 14. Small POSIX change in Dir.c
  60.  
  61. 15. Make installStdCmap false by default.
  62.  
  63. 16. Fix error where wrong pages were being saved or printed when descending
  64.     page order is used.
  65.  
  66. 17. Be sure to discard old backing pixmap if new alloc fails.
  67.  
  68. ==================== ghostview 1.3-terry   (30 May 92) =====================
  69.  
  70.  1. Rework the DSC comment scanner to return the length of the section as
  71.     well as the start and end position.
  72.  
  73.  2. Rework sending PostScript input down the pipe to eliminate a gross
  74.     efficiency problem.  I/O is done in 512 byte buffers rather than
  75.     line by line.  As many buffers as possible are sent before returning
  76.     from routine.
  77.  
  78.  3. Change Path.c to include <X11/Xos.h> to get <sys/types.h> and define
  79.     getuid in terms of uid_t.
  80.  
  81.  4. Added #defines for memset() and memcpy() for use when BSD4_2 is defined.
  82.  
  83. ==================== ghostview 1.3         (12 May 92) =====================
  84.  
  85.  1. Fix bug where EPSF figures with a %%Page comment would cause ghostview
  86.     to use garbage for the orientation or media.
  87.  
  88.  2. Redid waiting for form to change size before reattaching the chains the X
  89.     way.  (Previous algorithm used a subsidiary event loop.  It was prone
  90.     to getting stuck with the wrong app-defaults.)  The new algorithm uses
  91.     timer events with exponential backoff.
  92.  
  93.  3. Added Prior and Next keys to page back and forward.
  94.  
  95.  4. Added GhostviewCheckFile action and bound it to MapNotify.  Ghostview will
  96.     now redraw the current page on deiconify when the file has changed.
  97.  
  98.  5. Added application resource for the name of the PRINER environment variable.
  99.     Default is LPDEST for SYSV and PRINTER for BSD.  Also changed printer
  100.     command to default to lp for SYSV and lpr for BSD.
  101.  
  102.  6. Change Print Marked Pages to mark the current selection or current page
  103.     when no pages are marked.  It unmarks any page that it marked after sending
  104.     output to the print command.  Also, change Print Marked Pages to call
  105.     print whole when there was no table of contents.  This allows people to
  106.     print a EPSF figure without having to press Shift P.
  107.  
  108.  7. Automatically center page within viewport.  autoCenter app-default or
  109.     -nocenter can be used to disable this behavior.  Add Center to Page menu
  110.     and GhostviewCenter action and bind it to the C key.
  111.  
  112.  8. Reworked the way that popup zoom windows work.  The notify event contains
  113.     both the window size desired and resolution desired.  This allows much
  114.     greater flexibility in the zoom windows.  Changed the default zooms to
  115.     be all 500x500 pixels at 200, 300, and 400 dpi.  Popup zoom windows can
  116.     be dismissed with the new dismiss button or pressing Q within the window.
  117.  
  118.  9. Added -page <label> to start preview at a specific page.
  119.  
  120. 10. Made minor change in Path.c for OCS88.
  121.     (88open Object Compatibility Standard)
  122.  
  123. 11. Disable interpreter earlier in setup_ghostview to avoid forking a new
  124.     gs and then immediately killing it.
  125.  
  126. 12. Correct generation of page numbers for documents without useful page labels
  127.     and descending page order.
  128.  
  129. 13. Coerce Magstep specified on command line in range.
  130.  
  131. 14. Add U and D for scroll up and down.  Moved unmark keyboard accelerator
  132.     to N.
  133.  
  134. 15. Add a couple of type casts to pacify some really picky compilers.
  135.  
  136. 16. Use vfork() instead of fork(), except when SYSV or USG is defined.
  137.  
  138. ==================== ghostview 1.2         (21 Apr 92) =====================
  139.  
  140.  1. Apply patch from Jonathan Stone <jonathan@isor.vuw.ac.nz> to
  141.     explicitly call ./ad2c.
  142.  
  143.  2. Fix problem with occasionally leaving an old file open.
  144.  
  145.  3. Apply portability patches to SelFile widget for Interactive 2.2 from
  146.     Karl Berry <karl@cs.umb.edu>.  Also added .NOEXPORT to the Imakefile.
  147.  
  148.  4. Apply portability patches to SelFile widget for SVR4 from Kimmo Suominen
  149.     <Kimmo.Suominen@lut.fi>.
  150.  
  151.  5. Fix error where wrong page(s) is(are) selected for printing in a
  152.     document with Descending page order.
  153.  
  154.  6. Added .defaultPrinter application resource.  This string is used as
  155.     the printer name if the PRINTER enviroment variable is not set.  Also,
  156.     allow the user to specify a NULL printername.
  157.  
  158.  7. The Redisplay button was bound to the Next Page function.  It is correct
  159.     now.
  160.  
  161.  8. It has been pointed out to me (repeatedly) that most users' screens are
  162.     landscape orientation and the documents that they want to preview are
  163.     portrait orientation placing a high value on sceen real estate in the
  164.     vertical direction.  I have changed the layout to use vertical space for
  165.     the viewport alone.  (Added undocumented action to <Key>Z to trigger
  166.     relayout.)
  167.  
  168.  9. Installed workaround for when form does not give me the sizes that I
  169.     asked for.  (Set all sizes, force relayout, request all sizes, if something
  170.     different repeat.)  Also, wait for shell resize before putting
  171.     wm_size_hints in effect.
  172.  
  173. 10. Tab stops adjusted in man page to work for both nroff and troff.
  174.  
  175. 11. Added the following optimization:  If reopening the same file and the
  176.     prolog and setup are at the same place (byte position) in the file,
  177.     assume that the prolog is identical and don't restart gs.
  178.  
  179. 12. Move "*input: true" and "*allowShellResize: true" to the app-defaults file.
  180.  
  181. 13. Mark values from the DSC comments with the "document" icon in the popup
  182.     menus.
  183.  
  184. 14. Since the title and date are sometimes truncated by the new layout, make
  185.     them one item popup menus with the optional "document" icon.
  186.  
  187. 15. Added two routines to the Ghostview widget that allows the application to
  188.     query whether ghostscript is ready for new input, or if it is running.
  189.     (It has to keep track of this already so why make the application do it as
  190.     well.)
  191.  
  192. 16. Avoid unnecessary restarting of ghostscript when user initiates changes
  193.     that have no effect on the current page.
  194.  
  195. 17. Don't rebuild the pagemedia menu on every document open.  Just when the
  196.     media list changes.
  197.  
  198. 18. Added an option/application resource so that the user can control whether
  199.     a standard colormap is installed.
  200.  
  201. 19. Added an option/application resource so that the user can control whether
  202.     a private colormap is used.
  203.  
  204. ==================== ghostview 1.1         (25 Mar 92) =====================
  205.  
  206.  1. Remove HP-widget fluff from SelFile routines.
  207.  
  208.  2. Remove pre-R4 fluff from SelFile routines.
  209.  
  210.  3. Change "About..." popup to "Copyright..."
  211.  
  212.  4. Added "Redisplay" menu button.
  213.  
  214.  5. Changed name of topsy-turvy to seascape.
  215.  
  216.  6. Added baseTranslations for X11R5.
  217.  
  218.  7. Added F and B as synonyms for Next Page and Prev Page.
  219.  
  220.  8. Added R and ctrl-L as synonyms for Redisplay Page.
  221.  
  222.  9. Reworked NON_BLOCKING_IO to work with POSIX and SYSV.
  223.  
  224. 10. Added margins to the Ghostview widget.  This lets the popup zoom
  225.     window "fool" tricky PostScript figure into thinking they have the
  226.     whole page to draw on.
  227.  
  228. 11. Added preload resource to ghostview widget.  This allows on to preload
  229.     fonts for instance.  Real handy for drawings that like to load fonts
  230.     over and over again.
  231.  
  232. 12. Added GhostviewGetInputFileDescriptor convenience routine for other
  233.     applications that might like to use the widget.
  234.  
  235. 13. Fix XmuCvtStringToPageOrientation type converter.  Used to just assume
  236.     the it would allocate the storage.  Now will write into preallocated
  237.     storage.  (This fixed command line orientation options.)
  238.  
  239. 14. Adopt ad2c for generating fallback resources.  Rework Imakefile to
  240.     include that and streamline SIGNAL_DEFINES.
  241.  
  242. 15. Two malloc mistakes fixed (Used 1 more byte than alloced.)
  243.  
  244. 16. Include HOME_ON_DEMAND patch from Erik to reduce network load of
  245.     SelFile widget when users home directories are NFS mounted.
  246.  
  247. 17. Reworked SelFile widget to be a transient shell, and automatically
  248.     place itself under the cursor.
  249.  
  250. 18. Reworked SelFile widget to acutally open the requested file.  Then
  251.     it doesn't pop down and back up again when the user makes a mistake.
  252.  
  253. 19. Changed overall size calculation to be precise.  Add window manager
  254.     horizontal and vertical margins for those who want to be as precise.
  255.  
  256. 20. Added a work around for ncdwm users.  Xt intrinsics put bogus information
  257.     into size hints.  Changing this slightly allows ncdwm to work right.
  258.  
  259. 21. Fix bug when left bitmap of date or locator would be set when title
  260.     was not realized.
  261.  
  262. 22. Make dialog box a transient window for the main window.  (This resource
  263.     had to be set after both were realized.)
  264.  
  265. 23. Delay mapping main window until after all geometry negotiation is done.
  266.  
  267. 24. Fix bug (introduced in beta4) which would cause page numbers, rather
  268.     then page labels to be used.
  269.  
  270. 25. Don't replace the std cmap, just use what is there.
  271.  
  272. 26. Man page included.
  273.  
  274. 27. Always clear the window before starting interpreter.
  275.  
  276. 28. Only popup the information window once.
  277.  
  278. ==================== ghostview 1.0 beta 4  (05 Nov 91) =====================
  279.  
  280. 1. Changes for X11R5.
  281.    - Fix up bogus function prototypes.
  282.    - Type casts inserted where appropriate.
  283.  
  284. 2. Added Delete Window protocol to SelFile widget.
  285.  
  286. 3. Added chains within SelFile form widget.  (Otherwise resizing would
  287.    mess up its appearance.)
  288.  
  289. 4. Correct problem with Text widget and useStringInPlace.
  290.  
  291. 5. Moved setting of size hints to a separate routine.
  292.  
  293. 6. Reset scroll bars of Viewport widget to 0 before resizing.
  294.    (If Viewport goofs up it resize a nonzero scroll postion.)
  295.    Scroll bars a set back to original location after the resize.
  296.  
  297. 7. Change resize routine to accurate calculate new size when checking to
  298.    make sure it isn't bigger than the screen.
  299.  
  300. 8. Added two checks for exhausted dynamic memory after malloc.
  301.  
  302. 9. Fixup parsing of comments when copying to a new file.
  303.  
  304. 10.Fixup default pagemedia so that it is still in effect after viewing
  305.    a document with a pagemedia specified in the PostScript comments.
  306.  
  307. ==================== ghostview 1.0 beta 3  (07 Aug 91) =====================
  308.  
  309. 1. Ability to print whole file as well as selected pages.
  310.  
  311. 2. Put locator within form widget rather than popping it up.
  312.  
  313. 3. Send a message whenever the interpreter (ghostscript) fails (dumps core).
  314.  
  315. 4. Add a convenience routine to Ghostview widget to return the backing pixmap.
  316.  
  317. 5. Reworked the handling of dialog widgets.
  318.  
  319. 6. Optionally include the SelFile file selector for open and save dialogs.
  320.  
  321. 7. Corrected code that gave size hints to the window manager.  Things
  322.    now resize properly under motif.  Also, set size hints via SetValues
  323.    rather than directly.
  324.  
  325. 8. Fixed up problem that could cause core dumps when switching files.
  326.  
  327. 9. Removed hard coding of background to white and foreground to black
  328.    when using the default colormap.  If a special visual is used, you
  329.    have to live with black and white.
  330.  
  331. 10.Added check to make sure app-defaults were installed.
  332.  
  333. 11.Made the display of title, date, and locator optional.
  334.  
  335. 12.Rework command line options.
  336.  
  337. 13.Allow input from stdin.
  338.  
  339. 14.Ensure that orientation was set from app-defaults/command-line rather
  340.    than individual Ghostview resources.
  341.  
  342. 15.Made next button insensitive on last page and prev button insensitive
  343.    on first page.
  344.  
  345. 16.Correct problem where the files would appear to switch but the previous
  346.    one would continue to be displayed.
  347.  
  348. 17.Changed the type of "distance" from Dimension to int.  (This would cause
  349.    core dumps on some architectures.)
  350.  
  351. 18.Changed pscopydoc to preserve the second argument to the %%Pages: comment.
  352.  
  353. 19.Changed pscopydoc to not use the same FILE* as main.
  354.  
  355. 20.added openwindows option/app-default to work-around openwindows bitmap bug.
  356.  
  357. 21.Rewrote addr+enum_const expressions to &(addr[enum_const]) to pacify some
  358.    compilers.
  359.  
  360. ==================== ghostview 1.0 beta 2  (24 Jul 91) =====================
  361.  
  362. Portability:
  363.   - include <fcntl.h> on all systems for O_NDELAY
  364.   - set O_NDELAY = O_NONBLOCK for system V and POSIX systems
  365.   - set EWOULDBLOCK = EAGAIN for system V and POSIX systems
  366.   - include the free BSD sources for getenv, setenv, and strcasecmp
  367.     for systems the don't have them.
  368.   - Recoded XtSetFloatArg to be more portable.
  369.  
  370. Bugs fixed:
  371.   - PostScript Scanner properly handles nested documents (%%BeginDocument:)
  372.   - Only one (correct) %%Pages: comment in saved or printed file.
  373.   - Prevent dialog box components from getting squished.
  374.   - GhostviewSetOrientation action works now.
  375.   - GhostviewSetPageMedia action works now.
  376.   - Documents with structuring comments, but no pages don't cause core dumps.
  377.   - Bug in AsciiText widget was worked-around to avoid core dumps when
  378.     switching to another document.
  379.   - Documents with pages in Descending order now have the table of contents
  380.     displayed in reverse order.
  381.  
  382. Resource leaks plugged:
  383.   - Input buffer and backing pixmap are now freed when widget is destroyed.
  384.   - Input file descriptor is closed on zoom windows.
  385.  
  386. Enhancements:  (Thanks for the suggestions.)
  387.   - When forcing a page media or orientation on a page, indicate that fact
  388.     with a different marker on the orientation and/or page media menu.
  389.   - Allow a forced page media to override the bounding box on epsf figures.
  390.   - Added a locator which displays the coordinates in the default PostScript
  391.     coordinate system while the mouse button is pressed in the main viewport.
  392.     To avoid popping up a zoom window, leave the main viewport before releasing
  393.     the mouse button.
  394.   - All top level windows now understand WM_DELETE_WINDOW protocol.  mwm
  395.     users can use the close button.
  396.   - If all the page labels are identical, use the ordinal page number instead.
  397.   - Added popup dialog box to specify printer.  The default is the contents
  398.     of the PRINTER environment variable.
  399.   - Added actions to allow scrolling of main viewport from keyboard.
  400.     These are currently bound to h,j,k,l.
  401.   - Enhanced PostScript scanner to accept real numbers on %%BoundingBox:
  402.     comments.  (Didn't anyone read the spec, it calls for integers!)
  403.   - Added a limit check in increase/decrease magstep to prevent the magstep
  404.     from being off the menu.  (People objected to not being able to check the
  405.     magstep.)
  406.   - Added an option to the Ghostview widget to use backing store instead
  407.     of a backing pixmap.  (set "*Ghostview.useBackingPixmap: False" to use
  408.     backing store.)
  409.  
  410. ==================== ghostview 1.0 beta 1  (17 Jul 91) =====================
  411.  
  412. Original Release, No changes.
  413.